#include "DialogReflection.h"
#include "ui_DialogReflection.h"

DialogReflection::DialogReflection(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::DialogReflection)
{
    ui->setupUi(this);

    QObject::connect(ui->buttonOk, 
                     SIGNAL(clicked(bool)),
                     this,
                     SLOT(slotButtonOk(bool ))
                     );
    QObject::connect(ui->buttonCancel, 
                     SIGNAL(clicked(bool)),
                     this,
                     SLOT(slotButtonCancel(bool ))
                     );

}

DialogReflection::~DialogReflection()
{
    delete ui;
}

void DialogReflection::slotButtonOk(bool value)
{
    this->accept();
}

void DialogReflection::slotButtonCancel(bool value)
{
    this->accept();
}
